
#ifndef PROJECTZ_NUSER_NCOMMAND_CS_REQ_INVEN_IDENTIFY_H_
#define PROJECTZ_NUSER_NCOMMAND_CS_REQ_INVEN_IDENTIFY_H_

#include "../../engine.h"

#include "../../User.h"


namespace ProjectZ { namespace NCommand { namespace NWorld {

class CS_REQ_INVEN_IDENTIFY
{
public:
	static void OnExecute(User * pUser, ::Network::Packet * pPacket)
	{
		PREPARE_PACKET;

		int slot_index = 0;
		long long item_seq = 0;
		pPacket->ParseMsg("%2d%8d", &slot_index, &item_seq);

		::Network::Packet * pAck = ::Network::GETPACKETPOOL()->SEND_NEW();
		pAck->Write2(ACK_OK);
		pAck->Write1(0);
		pAck->Write2(slot_index);
		pAck->MakePacket(CMD_SC_REQ_INVEN_IDENTIFY);

		pUser->Send(pAck);
	}
};

} /*NWorld*/ } /*NCommand*/ } /*ProjectZ*/


#endif /* PROJECTZ_NUSER_NCOMMAND_CS_REQ_INVEN_IDENTIFY_H_ */
